

export const get_time = (time:any) => {
    let date = new Date(time*1000),
    oYear = date.getFullYear(),
    oMonth = date.getMonth(),
    oDate = date.getDate(),
    oHours = date.getHours(),
    oMinut = date.getMinutes(),
    oSecond = date.getSeconds(),
    oDay = date.getDay(),
    aDayArr = ["日","一","二","三","四","五","六"];
    return `${oYear}.${oMonth}.${oDate}`
}

  